include_directories(${FORMIC_BINARY_DIR}/src)
include_directories(${FORMIC_SOURCE_DIR}/src)
include_directories(${Boost_INCLUDE_DIRS})

# use cmake to create a fortran-C interface mangling header file
FortranCInterface_HEADER(${FORMIC_BINARY_DIR}/src/formic/fortran_mangle.h MACRO_NAMESPACE "FORMIC_FC_")

add_subdirectory(generators)
add_subdirectory(vector)
add_subdirectory(lapack)
add_subdirectory(mpi)
add_subdirectory(numeric)
add_subdirectory(random)
add_subdirectory(timing)
add_subdirectory(command)
add_subdirectory(output)
add_subdirectory(input)
add_subdirectory(wfn)
add_subdirectory(psi3)
add_subdirectory(ham)
add_subdirectory(hf)
add_subdirectory(tests)
add_subdirectory(test_driver)
add_subdirectory(lattice_ed)
add_subdirectory(fqmc)

# add_executable(formic_test formic_test.cpp)
# 
# target_link_libraries(formic_test formic_lapack)
# 
# install(
#         TARGETS
#           formic_test
#         RUNTIME DESTINATION
#           bin
#         LIBRARY DESTINATION
#           lib
#         ARCHIVE DESTINATION
#           lib
#        )
